package top.liuzhenyu.springboot3.service;

import top.liuzhenyu.springboot3.base.PageBean;
import top.liuzhenyu.springboot3.base.R;
import top.liuzhenyu.springboot3.entity.TbStudent;
import top.liuzhenyu.springboot3.vo.PageVO;

public interface TbStudentService {
    R<String> insert(TbStudent tbStudent);

    R<PageVO<TbStudent>> query(TbStudent tbStudent, PageBean pageBean);

    R<TbStudent> queryByKey(Integer id);

    R<String> update(TbStudent tbStudent);

    R<String> delete(Integer id);
}
